<table class="Contacts">
<%
   if project_id.to_i > 0
      @us = company.project_users(project_id)
    else
      @us = company.users
    end
%>
<%0.upto(@us.size/3) do |i|%>
 <tr class=top>
   <%if @us[i*3]%>
   <td class="person" id="td_<%=@us[i*3].id%>">
   <%=render(:partial=>'/people/people', :locals=>{ :people=> @us[i*3],:project_id=>project_id})%>
   </td>
   <%else%>
   <td class="blank"> </td>
   <%end%>
   <%if @us[i*3+1]%>
   <td class="person" id="td_<%=@us[i*3+1].id%>">
   <%= render(:partial=>'/people/people', :locals=>{ :people=> @us[i*3+1],:project_id=>project_id})%>
   </td>
   <%else%>
   <td class="blank"> </td>
   <%end%>
   <%if @us[i*3+2]%> 
   <td class="person" id="td_<%=@us[i*3+2].id%>">
   <%= render(:partial=>'/people/people', :locals=>{ :people=> @us[i*3+2],:project_id=>project_id})%>
   </td>
   <%else%>
   <td class="blank"> </td>
   <%end%>
 </tr>
  <% end %>
</table>
